<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>   
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ page isELIgnored ="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Add Borrow Book Order</title>
</head>
<body>
<h1>laotou99 图书管理系统</h1>

<h2>新建借书单</h2>
<form:form commandName="borrowbookorder" action="saveBorrowOrder" method="post">
<fieldset>
	<legend>
		添加借书单
	</legend>
	<p>
		<label for="borno">borno</label>
		<form:input path="borno" id="borno"/>
	</p>
	<p>
		<label for="custname">custname</label>
		<!--<form:input path="custname" id="custname"/>-->
		<form:select path="custname" id="custname1" 
			items="${custName1}" itemLabel="name" itemValue="name" />
	</p>
	<p>
	<!-- ---下拉选择--------------------------------------- -->
		
	</p>
	<p>
		<label for="remark1">remark1</label>
		<form:input path="remark1" id="remark1"/>
	</p>
	<p>
		<label for="remark2">remark2</label>
		<form:input path="remark2" id="remark2"/>
	</p>
	
	<p id="buttons">
       <input id="reset" type="reset">
       <input id="submit" type="submit" value="确认添加">
   </p>
</fieldset>
</form:form>

</body>
</html>